html {
    letter-spacing: -.4px;
    font-family: DM Sans,sans-serif;
    font-weight: 500;
}
a {
    color: #1890ff;
    text-decoration: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input[type="number"]{
    -moz-appearance: textfield;
}
header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 300;
    .wrapper {
        display: none;
        &.is-mobile {
            display: block;
            .wrap {
                background-color: #FFF;
                padding: 18px 24px;
                position: relative;
                display: flex;
                align-items: center;
                box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);

                .logo {
                    width: 20%;

                    img {
                        height: 24px;
                        width: 24px;
                        display: block;
                    }
                }

                .title {
                    flex: 1;
                    text-align: center;
                    font-size: 16px;
                    font-weight: 500;
                    color: #303133;
                }

                .action {
                    width: 20%;
                    color: #C0C4CC;
                    display: flex;
                    justify-content: flex-end;
                    .iconfont {
                        font-size: 20px;
                    }

                    .iconmenu-burger2 {
                        margin-left: 24px;
                    }
                }
            }
            .search-page {
                display: none;
                position: absolute;
                top: 0;
                height: 100vh;
                left: 0;
                right: 0;
                z-index: 100;
                background-color: #FFF;
                .search-header {
                    display: flex;
                    position: relative;
                    align-items: center;
                    padding: 14px 16px;
                    font-size: 14px;
                    font-weight: 400;
                    border-bottom: 1px solid #EBEEF5;
                    .left {
                        display: flex;
                        flex: 1;
                        position: relative;
                        color: #909399;
                        input {
                            flex: 1;
                            padding: 6px 32px ;
                            background-color: #F0F2F5;
                            border-radius: 4px;
                            line-height: 20px;
                            font-size: 14px;
                            border: none;
                            &::-webkit-input-placeholder {
                                color: #909399;
                                line-height: 20px;
                                font-size: 14px;
                            }
                            &:focus {
                                outline: none;
                            }
                        }
                        .iconfont {
                            font-size: 14px;
                            position: absolute;
                            top: 50%;
                            transform: translate(0, -50%);
                            left: 10px;
                        }
                    }
                    .right {
                        color: #606266;
                        margin-left: 10px;
                        line-height: 16px;
                    }
                }
                .search-result {
                    position: relative;
                    padding: 16px;
                    display: none;
                    overflow-y: auto;
                    width: calc(100% - 24px);
                    height: calc(100% - 60px);
                    background-color: #FFF;
                    font-weight: 500;
                    &::-webkit-scrollbar {
                        width: 4px;
                        height: 4px;
                        border-radius: 3px;
                    }
                    &::-webkit-scrollbar-thumb {
                        background-color: #e7f3fd;
                    }
                    .search-list {
                        .search-item {
                            -webkit-tap-highlight-color: transparent;
                            cursor: pointer;
                            display: flex;
                            padding: 12px 16px;
                            &:hover {
                                border-radius: 8px;
                                background-color: #F5F7FA;
                            }
                            .left {
                                position: relative;
                                img {
                                    width: 48px;
                                    height: 48px;
                                    border-radius: 50%;
                                    display: block;
                                }
                                .iconfont {
                                    background-color: #46D6EC;
                                    color: #FFF;
                                    padding: 1px;
                                    border-radius: 50%;
                                    font-size: 12px;
                                    position: absolute;
                                    right: 0;
                                    bottom: 0;
                                }
                            }
                            .right {
                                margin-left: 16px;
                                font-size: 14px;
                                display: flex;
                                flex-direction: column;
                                justify-content: center;
                                .user-name {
                                    color: #303133;
                                }
                                .user-info {
                                    margin-top: 6px;
                                    color: #909399;
                                }
                            }
                        }
                    }
                    .no-data {
                        height: 208px;
                        padding: 48px 10px;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        font-size: 14px;
                        line-height: 24px;
                        color: #606266;
                        word-break: break-word;
                        img {
                            width: 48px;
                            height: 48px;
                            margin-bottom: 16px;
                        }
                        div {
                            text-align: center;
                        }
                    }
                }
            }
            .sidebar {
                display: none;
                position: absolute;
                overflow: hidden;
                top: 0;
                height: 100vh;
                z-index: 101;
                left: 0;
                right: 0;
                background-color: #FFF;
            }
            .sidebar-top {
                padding: 24px;
                font-size: 14px;
                line-height: 22px;
                border-bottom: 1px solid #EBEEF5;
                .account-info {
                    display: flex;
                    line-height: 16px;
                    font-weight: 500;
                    .avatar {
                        line-height: 1;
                        margin-right: 12px;
                        padding: 8px;
                        border-radius: 50%;
                        background-color: #C0C4CC;
                    }
                    .iconUser {
                        font-size: 24px;
                        color: #FFF;
                    }
                    .title {
                        color: #303133;
                        font-size: 14px;
                    }
                    .tag {
                        margin-top: 6px;
                        font-size: 12px;
                        span {
                            border-radius: 4px;
                            padding: 0 4px;
                            color: #FFF;
                            line-height: 16px;
                        }
                        .gray {
                            background-color: #C0CCDA;
                        }
                        .orange {
                            background-color: #FF873F;
                        }
                        .red {
                            background-color: #F56C6C;
                        }
                    }
                }
                .account-remain {
                    margin-top: 16px;
                }
                .account-time {
                    margin-top: 6px;
                }
            }
            .sidebar-header {
                padding: 18px 24px;
                width: calc(100% - 48px);
                display: flex;
                font-size: 14px;
                align-items: center;
                box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
                position: relative;
                .logo {
                    flex: 1;
                    img {
                        height: 24px;
                        width: 24px;
                    }
                }
                .center {
                    font-size: 18px;
                    font-weight: 500;
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                }
            }
            .sidebar-item {
                margin: 0 24px;
                padding-bottom: 8px;
                font-weight: 500;
                &:not(:last-child) {
                    border-bottom: 1px solid #EBEEF5;
                }
                .title {
                    margin-top: 24px;
                    margin-bottom: 8px;
                    font-weight: 600;
                    font-size: 12px;
                    line-height: 18px;
                    color: #303133;
                }
                .sub-sidebar-item {
                    padding: 10px 0;
                    font-size: 14px;
                    line-height: 24px;
                    display: flex;
                    color: #606266;
                    .label {
                        flex: 1;
                    }
                }
            }
        }
    }
    h1 {
        font-size: 18px;
        font-weight: 500;
    }

}
main {
    .container {
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
    }
    .gd-search {
        box-sizing: border-box;
        .gd-search__wrap {
            color: #909399;
            display: flex;
            align-items: center;
            background-color: #FFF;
            padding: 12px 16px;
            border-radius: 4px;
            .iconfont {
                font-size: 13px;
                margin-right: 10px;
            }
            input {
                flex: 1;
                font-size: 12px;
                line-height: 20px;
                font-weight: 400;
                border: none;
                outline: none;
                padding-right: 20px;
                color: #909399;
                &::-webkit-input-placeholder {

                }
            }
            button {
                font-weight: bold;
                font-size: 16px;
                line-height: 24px;
                display: none;
                width: auto;
            }
        }
    }
    .faqs {
        text-align: center;
        h3 {
            margin-top: 120px;
            font-size: 36px;
            line-height: 44px;
            color: #303133;
        }
        p {
            color: #606266;
        }
        & > p {
            font-size: 14px;
            line-height: 24px;
            margin-top: 16px;
        }
        .gd-collapse {
            margin-top: 48px;
            .gd-collapse-item {
                background-color: #FFF;
                margin-top: 24px;
                &:first-child {
                    margin-top: 0;
                }
            }
            .gd-collapse-item__label {
                color: #303133;
                font-weight: bold;
                font-size: 18px;
                line-height: 24px;
            }
            .gd-collapse-item__affix {
                color: #1890FF;
            }
            .gd-collapse-item__wrap {
                font-size: 16px;
                line-height: 30px;
                color: #606266;
            }
        }
    }
    .section-seo {
        background-color: #FFF;
        font-size: 14px;
        line-height: 20px;
        color: #909399;
        margin: 24px 0 40px;
        padding: 24px;
        .seo-item {
            display: flex;
            align-items: center;
            margin-top: 10px;
            &:first-child {
                margin-top: 0;
            }
            .iconfont {
                margin-right: 12px;
            }
        }
    }
}
footer {
    margin-top: 60px;
    background-color: #F3F7FE;
    .container {
        padding: 32px 20px;
        .footer-logo {
            display: flex;
            align-items: center;
            font-size: 18px;
            line-height: 1;
            img {
                width: 30px;
                height: 30px;
                margin-right: 16px;
            }
        }
        .sns-link {
            display: flex;
            margin-top: 24px;
            img {
                margin-right: 12px;
                cursor: pointer;
                &:last-child {
                    margin-right: 0;
                }
            }
        }
        nav {
            .footer-nav-title {
                margin-top: 32px;
                color: #303133;
                letter-spacing: 1px;
                font-weight: bold;
                font-size: 12px;
                line-height: 20px;
            }
            li {
                margin-top: 16px;
                a {
                    font-size: 14px;
                    line-height: 22px;
                    color: #303133;
                }
            }
        }
    }
}
.right-aside {
    display: none;
}
.mask {
    position: absolute;
    top: 0;
    height: 100vh;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .7);
    z-index: 2;
}
@keyframes rotate{
    0%{
        transform: rotate(0);
    }
    50%{
        transform:rotate(180deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
.rotate{
    transition: 0.1s;
    transform-origin: 50%;
    animation: rotate .8s linear infinite;  /*开始动画后无限循环，用来控制rotate*/
}
.loading {
    position: absolute;
    left: 0;
    right: 0;
    height: 100vh;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    .iconfont {
        font-size: 20px;
        transition: 0.1s;
        transform-origin: 50%;
        animation: rotate 1s linear infinite;
    }
}
@media only screen and (max-width: 1199px){
    header {
        section {
            &.login-section {
                left: 0;
                top: 0;
                width: 100%;
                height: 100vh;
                transform: none;
            }
        }
    }
}
@media only screen and (min-width: 1200px) {
    .container {
        margin: 0 auto;
        max-width: 1200px;
    }
    header {
        position: unset;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
        background-color: #FFF;
        font-weight: 500;
        & > section {
            max-width: 1200px;
            margin: 0 auto;
        }
        .header-logo {
            display: flex;
            align-items: center;
            font-size: 18px;
            color: #000;
            img {
                width: 30px;
                height: 30px;
                margin-right: 16px;
            }
        }
        .wrapper {
            padding: 14px 0;
            display: flex;
            align-items: center;
            position: relative;
            &.is-mobile {
                display: none;
            }
            .search-wrap {
                position: relative;
                .input-wrap {
                    margin-left: 47px;
                    position: relative;
                    .header-input {
                        width: 312px;
                        padding-left: 40px;
                        padding-top: 6px;
                        padding-bottom: 6px;
                        border-radius: 4px;
                        border: 1px solid #FFF;
                        background-color: #F0F2F5;
                        font-size: 14px;
                        line-height: 20px;
                        &::-webkit-input-placeholder {
                            font-size: 14px;
                            color: #909399;
                            line-height: 20px;
                        }
                        &:focus {
                            outline-color: #1890FF;
                            background-color: #FFF;
                        }
                    }
                    .iconfont {
                        font-size: 15px;
                        color: #909399;
                        position: absolute;
                        left: 16px;
                        top: 8px;
                    }
                }
                .search-result {
                    display: none;
                    z-index: 2;
                    position: absolute;
                    top: 100%;
                    left: 48px;
                    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.06);
                    overflow-y: auto;
                    min-width: 352px;
                    max-height: 384px;
                    background-color: #FFF;
                    border-radius: 3px;
                    font-weight: 500;
                    &::-webkit-scrollbar {
                        width: 4px;
                        height: 4px;
                        border-radius: 3px;
                    }
                    &::-webkit-scrollbar-thumb {
                        background-color: #e7f3fd;
                    }
                    .search-list {
                        padding: 12px;
                        .search-item {
                            cursor: pointer;
                            display: flex;
                            padding: 12px;
                            &:hover {
                                border-radius: 8px;
                                background-color: #F5F7FA;
                            }
                            .left {
                                position: relative;
                                img {
                                    width: 48px;
                                    height: 48px;
                                    border-radius: 50%;
                                    display: block;
                                }
                                .iconfont {
                                    background-color: #46D6EC;
                                    color: #FFF;
                                    padding: 1px;
                                    border-radius: 50%;
                                    font-size: 12px;
                                    position: absolute;
                                    right: 0;
                                    bottom: 0;
                                }
                            }
                            .right {
                                margin-left: 16px;
                                font-size: 14px;
                                display: flex;
                                flex-direction: column;
                                justify-content: center;
                                .user-name {
                                    color: #303133;
                                }
                                .user-info {
                                    margin-top: 6px;
                                    color: #909399;
                                }
                            }
                        }
                    }
                    .loading {
                        height: 208px;
                        position: relative;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        .iconfont {
                            font-size: 20px;
                        }
                    }
                    .no-data {
                        height: 208px;
                        padding: 48px 10px;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        font-size: 14px;
                        line-height: 24px;
                        color: #606266;
                        word-break: break-word;
                        img {
                            width: 48px;
                            height: 48px;
                            margin-bottom: 16px;
                        }
                        div {
                            text-align: center;
                        }
                    }
                }
            }
            button {
                margin-left: auto;
                font-weight: bold;
                font-size: 14px;
                line-height: 20px;
                width: auto;
                padding: 6px 19px;
            }
            .header-menu {
                font-size: 16px;
                line-height: 24px;
                margin-left: 40px;
                flex: 1;
                & > li {
                    margin-left: 30px;
                    float: left;
                    color: #303133;
                    cursor: pointer;
                    line-height: 36px;
                    &:first-child {
                        margin-left: 0;
                    }
                    a {
                        text-decoration: none;
                        color: #303133;
                    }
                    &.is-active {
                        a {
                            color: #1890FF;
                        }
                    }
                }
                .header-submenu {
                    position: relative;
                    display: flex;
                    align-items: center;
                    font-size: 16px;
                    .header-submenu__title {
                        display: flex;
                        align-items: center;
                    }
                    .iconfont {
                        margin-left: 8px;
                        font-size: 8px;
                    }
                    .header-submenu__wrap {
                        display: none;
                        border-radius: 3px;
                        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.06);
                        position: absolute;
                        top: 100%;
                        background-color: #FFF;
                        padding: 24px;
                        white-space: nowrap;
                        li {
                            margin-bottom: 24px;
                            line-height: 1;
                            &:last-child {
                                margin-bottom: 0;
                            }
                            a {
                                &:hover {
                                    color: #1890FF;
                                }
                            }
                        }
                    }
                }
            }
            .account-info {
                margin-left: auto;
                font-weight: 500;
                font-size: 14px;
                position: relative;
                .wrap {
                    display: none;
                    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.06);
                    border-radius: 3px;
                    background-color: #FFF;
                    position: absolute;
                    top: 100%;
                    left: 50%;
                    transform: translate(-50%);
                    z-index: 1;
                }
                .account-top {
                    margin: 24px 32px 0;
                    padding-bottom: 16px;
                    border-bottom: 1px solid #EBEEF5;
                    line-height: 16px;
                    .title {
                        color: #303133;
                    }
                    .tag {
                        color: #FFF;
                        margin-top: 8px;
                        span {
                            font-size: 12px;
                            padding: 0 4px;
                            border-radius: 4px;
                        }
                        .gray {
                            background-color: #C0CCDA;
                        }
                        .blue {
                            background-color: #1890FF;
                        }
                        .yellow {
                            background-color: #FFB23D;
                        }
                        .red {
                            background-color: #F56C6C;
                        }
                    }
                }
            }
            .account-avatar {
                padding: 8px;
                background-color: #C0C4CC;
                border-radius: 50%;
                color: #FFF;

                .iconfont {
                    font-size: 24px;
                }
            }
            .account-detail {
                margin: 16px 32px 0;
                padding-bottom: 16px;
                border-bottom: 1px solid #EBEEF5;
                .detail-item {
                    display: flex;
                    line-height: 22px;
                    margin-top: 8px;
                    &:first-child {
                        margin-top: 0;
                    }
                    .label {
                        color: #909399;
                        white-space: nowrap;
                    }
                    .data {
                        color: #303133;
                    }
                }
            }
            .account-link {
                margin: 8px 0;
                a {
                    color: #606266;
                }
                .iconfont {
                    color: #909399;
                }
                .link-item {
                    padding: 10px 32px;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    .label {
                        line-height: 24px;
                        flex: 1;
                    }
                    &:hover {
                        background-color: #F5F7FA;
                    }
                }
            }
            .account-footer {
                padding-top: 18px;
                padding-bottom: 26px;
                margin: 0 32px;
                border-top: 1px solid #EBEEF5;
                line-height: 24px;
                color: #606266;
                cursor: pointer;
            }
            .bg-header_logo {
                width: 152px; height: 30px;
                background: url('../../img/link_sprites.png') -10px -10px;
            }
        }
    }
    main {
        width: 100%;
        padding-bottom: 0;
        & > section {
            &:first-child {
                margin-top: 0;
            }
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin-right: auto;
            margin-left: auto;
        }
        .gd-search {
            margin-left: auto;
            margin-right: auto;
            .gd-search__wrap {
                padding: 20px 32px 20px 20px;
                border-radius: 8px;
                button {
                    display: block;
                    padding: 8px 30px;
                }
                .iconfont {
                    font-size: 16px;
                    margin-right: 24px;
                }
                input {
                    font-size: 14px;
                }
            }
        }
        .section-seo {
            padding: 0;
            max-width: 100%;
            margin: 100px 0 0;
            background-color: #FAFBFC;
            .seo-wrap {
                padding: 42px 0;
                max-width: 1200px;
                margin: 0 auto;
                display: flex;
                justify-content: space-between;
            }
            .seo-item {
                margin-top: 0;
            }
        }
    }
    footer {
        margin-top: 100px;
        .container {
            display: grid;
            grid-template-columns: repeat(12, 71px);
            column-gap: 32px;
            padding: 80px 0 40px;
        }
        nav {
            &:nth-child(1) {
                grid-column-start: 1;
                grid-column-end: 3;
            }
            &:nth-child(2) {
                grid-column-start: 3;
                grid-column-end: 6;
            }
            &:nth-child(3) {
                grid-column-start: 6;
                grid-column-end: 9;
            }
            &:nth-child(4) {
                grid-column-start: 9;
                grid-column-end: 11;
            }
            &:nth-child(5) {
                grid-column-start: 11;
                grid-column-end: 13;
            }
        }
        .footer-nav-title {
            margin-top: 0 !important;
        }
    }
    .right-aside {
        display: block;
        position: fixed;
        right: 16px;
        bottom: 300px;
        li {
            margin-top: 10px;
            position: relative;
        }
        li > div:not(.aside-sns), li > a > div {
            cursor: pointer;
            border-radius: 50%;
            height: 40px;
            width: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .iconfont {
            font-size: 14px;
        }
        .copy-link {
            position: relative;
            background-color: #E7F3FF;
            color: #1890FF;
        }
        .aside-mail {
            color: #FFF;
            background-color: #1890FF;
        }
        a {
            color: #FFF;
        }
        .aside-top {
            background-color: #909399;
            &:hover {
                background-color: #303133;
            }
        }
        .aside-tw {
            background-color: #E5F6FD;
            color: rgba(3, 169, 244, 1);
        }
        .aside-fb {
            background-color: #ECEFF5;
            color: rgba(68, 96, 160, 1);
        }
        .aside-share {
            color: #FFF;
            background-color: #F56C6C;
        }
        .aside-sns {
            color: #FFF;
            display: none;
            position: absolute;
            bottom: 100%;
            padding-bottom: 10px;
        }
    }
}
